//入口文件
import Vue from 'vue'
//使用VueRouter
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import router from './router.js'

//引入mint-ui制作轮播图
import { Swipe, SwipeItem } from 'mint-ui';
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem); 

//引入muicss样式制作底部tabbar
import './lib/mui/css/mui.min.css'

//使用VueResource
import VueResource from 'vue-resource'
Vue.use(VueResource)

//引入minirefresh
import MiniRefreshTools from 'minirefresh';
import 'minirefresh/dist/debug/minirefresh.css'
import 'minirefresh/dist/debug/minirefresh.js'

//引入mui
import './lib/mui/css/mui.min.css'




//导入 App组件
import app from './App.vue'

var vm = new Vue({
    el:'#app',
    render: c => c(app),
    router  //将路由挂载到vm上
})
